import MobileHomeLayout from '@/layout/index.vue'
import { getRoutersByModules, sortRoutesByOrder } from 'vue3-common/utils/routerUtil'
import { mobileHomeMeta } from '@/views/meta.ts'

// TODO 参考CCRT
const homeRoutes = getRoutersByModules(import.meta.glob('@/views/**/*.vue'), MobileHomeLayout, mobileHomeMeta)

export default sortRoutesByOrder(homeRoutes)
